package com.aspose.cells.a.d;

public class zo extends zd {
   private com.aspose.cells.b.a.b.zo a;
   private boolean b;

   public zo() {
   }

   public zo(com.aspose.cells.b.a.b.zo var1) {
      this.a = var1;
   }

   public com.aspose.cells.b.a.b.zo a() {
      return this.a;
   }

   public void a(com.aspose.cells.b.a.b.zo var1) {
      this.a = var1;
   }

   public boolean b() {
      return this.b;
   }

   public void a(boolean var1) {
      this.b = var1;
   }

   public void a(ze var1) throws Exception {
      var1.a(this);
      super.a(var1);
      var1.b(this);
   }

   public static zo a(com.aspose.cells.b.a.b.zo[] var0, boolean var1) {
      zo var2 = new zo();
      var2.a(var1);
      if (var0.length < 2) {
         return var2;
      } else {
         var2.a(var0[0]);
         var2.c(var0);
         return var2;
      }
   }

   public static zo a(com.aspose.cells.b.a.b.zo[] var0) {
      zo var1 = new zo();
      var1.a(false);
      if (var0.length < 4) {
         return var1;
      } else {
         var1.a(var0[0]);
         var1.b(var0);
         return var1;
      }
   }

   public void b(com.aspose.cells.b.a.b.zo[] var1) {
      if (var1.length >= 4) {
         if (this.a == null) {
            this.a = var1[0];
         }

         int var2 = var1.length;

         for(int var3 = 0; var3 < var2 - 3; var3 += 3) {
            zt var4 = new zt();
            var4.a(var1[var3 + 0]);
            var4.b(var1[var3 + 1]);
            var4.c(var1[var3 + 2]);
            var4.d(var1[var3 + 3]);
            zp var5 = new zp();
            var5.a(var4);
            this.a((zl)var5);
         }

      }
   }

   public void c(com.aspose.cells.b.a.b.zo[] var1) {
      if (var1.length >= 2) {
         if (this.a == null) {
            this.a = var1[0];
         }

         float[] var2 = new float[(var1.length - 1) * 2];

         for(int var3 = 0; var3 < var1.length - 1; ++var3) {
            var2[var3 * 2] = var1[var3 + 1].d();
            var2[var3 * 2 + 1] = var1[var3 + 1].e();
         }

         zq var4 = new zq(var2);
         this.a((zl)var4);
      }
   }
}
